package com.glory.cqaospda.bean;

import java.io.Serializable;

public class MaterialListBean implements Serializable {
    private String MaterialId;
    private String MaterialCode;
    private String MaterialType;
    private String MaterialQty;
    private String MaterialUnit;
    private String VendorCode;
    private String MaterialLotId;
    private String materialUniqueCode;
    private boolean isReplace = false;

    public String getMaterialLotId() {
        return MaterialLotId == null ? "" : MaterialLotId;
    }

    public void setMaterialLotId(String materialLotId) {
        MaterialLotId = materialLotId;
    }

    public boolean isReplace() {
        return isReplace;
    }

    public void setReplace(boolean replace) {
        isReplace = replace;
    }

    public String getMaterialUniqueCode() {
        return materialUniqueCode == null ? "" : materialUniqueCode;
    }

    public void setMaterialUniqueCode(String materialUniqueCode) {
        this.materialUniqueCode = materialUniqueCode;
    }

    public String getMaterialId() {
        return MaterialId;
    }

    public String getMaterialCode() {
        return MaterialCode;
    }

    public String getMaterialType() {
        return MaterialType;
    }

    public String getMaterialQty() {
        return MaterialQty;
    }

    public String getMaterialUnit() {
        return MaterialUnit;
    }

    public String getVendorCode() {
        return VendorCode;
    }

    public void setMaterialId(String materialId) {
        MaterialId = materialId;
    }

    public void setMaterialCode(String materialCode) {
        MaterialCode = materialCode;
    }

    public void setMaterialType(String materialType) {
        MaterialType = materialType;
    }

    public void setMaterialQty(String materialQty) {
        MaterialQty = materialQty;
    }

    public void setMaterialUnit(String materialUnit) {
        MaterialUnit = materialUnit;
    }

    public void setVendorCode(String vendorCode) {
        VendorCode = vendorCode;
    }

    @Override
    public String toString() {
        return "MaterialListBean{" +
                "MaterialId='" + MaterialId + '\'' +
                ", MaterialCode='" + MaterialCode + '\'' +
                ", MaterialType='" + MaterialType + '\'' +
                ", MaterialQty='" + MaterialQty + '\'' +
                ", MaterialUnit='" + MaterialUnit + '\'' +
                ", VendorCode='" + VendorCode + '\'' +
                ", materialUniqueCode='" + materialUniqueCode + '\'' +
                '}';
    }
}
